import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from "@/router/router";
import axios from "axios";


Vue.config.productionTip = false


// 将axios放在vue的原型对象中  {$http:axios}

Vue.prototype.$http = axios

// 扩展 ui组件
Vue.use(ElementUI);

//  vue实例和容器的绑定 是通过$mount()  App组件标签的渲染是通过render函数实现
new Vue({
  render: h => h(App),
  router
}).$mount('#app')
